package com.boat.sample.ddd.api.dto;

import javax.validation.constraints.NotBlank;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(title = "用户登录请求参数")
@Data
public class LoginReq {
	@Schema(title = "用户名称")
	@NotBlank(message ="用户名称不能为空")
	private String userName;
	
	@Schema(title = "用户密码")
	@NotBlank(message ="用户密码不能为空")
	private String password;
}
